<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card">

    <div class="layui-card-body padding-left-40">
        <label  class="layui-col-xs5">
            <span class="color-green font-w7">开票金额</span>
            <span class="color-desc margin-left-5"></span>
            <div>{$order.payment_amount|default='0.00'}元</div>
        </label>
        <label class="layui-col-xs5">
            <span class="color-green font-w7">开票类型</span>
            <span class="color-desc margin-left-5"></span>
            <br/>
            {if $vo.bill_type eq 0}企业{else/}个人{/if}
        </label>
        <label class="layui-col-xs5">
            <span class="color-green font-w7">发票抬头</span>
            <span class="color-desc margin-left-5"></span>
            <br/>
            {$vo.bill_name|default=''}
        </label>
        {if $vo.bill_type eq 0}
            <label class="layui-col-xs5">
                <span class="color-green font-w7">企业税号</span>
                <span class="color-desc margin-left-5"></span>
                <br/>
                {$vo.bill_no|default=''}
            </label>
        {/if}
        <label class="layui-col-xs5">
            <span class="color-green font-w7">发票内容</span>
            <span class="color-desc margin-left-5"></span>
            <br/>
            {if $vo.bill_product_type eq 0}商品名称{else/}商品类别{/if}
        </label>
        <label class="layui-col-xs5">
            <span class="color-green font-w7">收票邮箱</span>
            <span class="color-desc margin-left-5"></span>
            <br/>
            {$vo.bill_email|default=''}
        </label>
        <label class="layui-col-xs5">
            <span class="color-green font-w7">开票状态</span>
            <span class="color-desc margin-left-5"></span>
            <br/>
            {if $vo.status eq 0}未开票{else/}已开票{/if}
        </label>
        <label class="layui-col-xs12">
            <span class="help-label"><b>发票图片</b></span>
            <div class="help-images">
                <input name="img" data-max-width="500" data-max-height="500" type="hidden" value="{$vo.img|default=''}">
                <script>$('[name="img"]').uploadOneImage();</script>
            </div>
        </label>
        {if $vo.status == 0}
            <input name='order_no' type='hidden' value='{$order.order_no|default=""}'>
            <button class="layui-btn" type='submit'>提交</button>
        {/if}
    </div>
</form>
